package com.xjtu.platform.reader.dao;

import com.xjtu.platform.reader.newEntity.ClassListEntity;
import com.xjtu.platform.reader.newEntity.LabelListEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface NewDao {
    @Select("select * from class")
    List<ClassListEntity> getClassList();

    @Select("select * from library_label")
    List<LabelListEntity> getLabelList();
}
